www.gusucode.com > 环保时代家庭财务管理系统 EPffms v4.0 > 环保时代家庭财务管理系统 EPffms v4.0\code\eptimehome\money_show.asp

    <!-- #include file="conn.asp" -->
<%
'****************************************************
'Code for EptimeFFMS
'Vision : v4.0
'****************************************************
%>
<html>
<head>
<title><%=sitename%>-详细信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/admin.css" rel="stylesheet" type="text/css">
<style>
body {
	background-color:#FFFFFF;
}
</style>
</HEAD>
<BODY>
<%
sql="select * from Eptime_money where id="&request("id")
set rs=conn.execute(sql)
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
<tr>
<td><img src="images/r_1.gif" alt="" /></td>
<td width="100%" background="images/r_0.gif">
  <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td>&nbsp;流水账详细信息</td>
	  <td align="right">&nbsp;</td>
    </tr>
  </table>
</td>
<td><img src="images/r_2.gif" alt="" /></td>
</tr>
<tr>
<td></td>
<td>
<table align="center" cellpadding="4" cellspacing="1" class="toptable grid" border="1">
      <tr>
	    <td align="right" height="30">类型:</td>
        <td class="category"><%if rs("type")=0 then%>收入<%ElseIf rs("type")=1 then%>支出<%ElseIf rs("type")=2 then%>转账<%ElseIf rs("type")=3 then%>借入<%ElseIf rs("type")=4 then%>借出<%ElseIf rs("type")=5 then%>收债<%ElseIf rs("type")=6 then%>还债<%end if%></td>
      </tr>
	  <tr>
        <td align="right" height="30">所属大类:</td>
        <td class="category">
          <%
	      sql="select * from Eptime_money_bigclass where id="&rs("id_bigclass")
	      set rs_bigclass=conn.execute(sql)
	      %>
          <%if rs_bigclass.eof=false then%><%=rs_bigclass("bigclass")%><%else%>&nbsp;<%end if%>	</td>
      </tr>  
      <tr>
        <td align="right" height="30">所属小类:</td>
        <td class="category">
          <%
	      sql="select * from Eptime_money_smallclass where id="&rs("id_smallclass")
	      set rs_smallclass=conn.execute(sql)
		  %>
          <%if rs_smallclass.eof=false then%><%=rs_smallclass("smallclass")%><%else%>&nbsp;<%end if%></td>
      </tr>	   
      <tr>
        <td width="25%" height="30" align="right">金额: </td>
        <td width="75%" class="category"><%=rs("price")%></td>
      </tr>	
      <tr>
        <td align="right" height="30">帐户:</td>
        <td class="category">
<%if rs("type")=0 then%>-><%ElseIf rs("type")=3 then%>-><%ElseIf rs("type")=5 then%>-><%else%>&nbsp;<%end if%>

	  <%
	  sql="select * from Eptime_zhanghu where id="&rs("zhanghu")
	  set rs_zhanghu=conn.execute(sql)
	  %>
	  <%if rs_zhanghu.eof=false then%><%=rs_zhanghu("name")%><%else%>&nbsp;<%end if%>	

<%if rs("type")=1 then%>-><%ElseIf rs("type")=4 then%>-><%ElseIf rs("type")=6 then%>-><%else%>&nbsp;<%end if%>


<%if rs("type")=2 then%>->

	  <%
	  sql="select * from Eptime_zhanghu where id="&rs("zhanghu1")
	  set rs_zhanghu=conn.execute(sql)
	  %>
	  <%if rs_zhanghu.eof=false then%><%=rs_zhanghu("name")%><%else%>&nbsp;<%end if%>	
&nbsp;
<%end if%>	
		</td>
      </tr>	  
      <tr>
        <td align="right" height="30">经办人:</td>
        <td class="category">
	  <%
	  sql="select * from Eptime_admin where id="&rs("id_login")
	  set rs_login=conn.execute(sql)
	  %>
	  <%if rs_login.eof then%><%=rs("login")%><%else%><%=rs_login("realname")%><%end if%>	
		</td>
      </tr>
	  <tr>
        <td align="right" height="30">时间:</td>
        <td class="category">
		  <%=rs("selldate")%></td>
      </tr>	
	  	  <tr>
        <td align="right" height="30">往来单位/人员:</td>
        <td class="category">
	  <%
	  sql="select * from Eptime_wanglai where id="&rs("wanglai")
	  set rs_wanglai=conn.execute(sql)
	  %>
	  <%if rs_wanglai.eof=false then%><%=rs_wanglai("name")%><%else%>&nbsp;<%end if%>
		  </td>
      </tr>
      <tr>
        <td align="right" height="30">备注:</td>
        <td class="category">
		  <%=replace(replace(rs("beizhu")&""," ","&nbsp;"),chr(13),"<br>")%></td>
      </tr>	
	  	  <tr>
        <td align="right" height="30">操作时间:</td>
        <td class="category">
		  <%=rs("addtime")%></td>
      </tr>	
</table>
</td>
<td></td>
</tr>
<tr>
<td><img src="images/r_4.gif" alt="" /></td>
<td></td>
<td><img src="images/r_3.gif" alt="" /></td>
</tr>
</table>
</body>
</html>